package sanrenxing.dayEnd.backRepertoryTotal.domain;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName:FundAllocation
 * @description:孙祥兵
 * @date:2021/3/12 15:30
 * @version:1.0
 **/
public class FundAllocation implements Serializable {
    //调拨编号
    private int tofId;
    //基金编号
    private String fundId;
    //现金编号
    private int caId;
    //调拨类型
    private String reType;
    //调拨金额
    private double reMoney;
    //业务日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date businDate;
    //调拨日期
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date reDate;
    //标记
    private String mark;
    //调拨方向
    private int dial;

    /**
     * 默认构造方法
     */
    public FundAllocation() {
    }

    /**
     * 带参构造方法
     * @param tofId 调拨编号
     * @param fundId 基金编号
     * @param caId 现金编号
     * @param reType 调拨类型
     * @param reMoney 调拨金额
     * @param businDate 业务日期
     * @param reDate 调拨日期
     * @param mark 标记
     * @param dial 调拨方向
     */
    public FundAllocation(int tofId, String fundId, int caId, String reType, double reMoney, Date businDate, Date reDate, String mark, int dial) {
        this.tofId = tofId;
        this.fundId = fundId;
        this.caId = caId;
        this.reType = reType;
        this.reMoney = reMoney;
        this.businDate = businDate;
        this.reDate = reDate;
        this.mark = mark;
        this.dial = dial;
    }

    /**
     * set/get方法
     * @return
     */
    public int getTofId() {
        return tofId;
    }

    public void setTofId(int tofId) {
        this.tofId = tofId;
    }

    public String getFundId() {
        return fundId;
    }

    public void setFundId(String fundId) {
        this.fundId = fundId;
    }

    public int getCaId() {
        return caId;
    }

    public void setCaId(int caId) {
        this.caId = caId;
    }

    public String getReType() {
        return reType;
    }

    public void setReType(String reType) {
        this.reType = reType;
    }

    public double getReMoney() {
        return reMoney;
    }

    public void setReMoney(double reMoney) {
        this.reMoney = reMoney;
    }

    public Date getBusinDate() {
        return businDate;
    }

    public void setBusinDate(Date businDate) {
        this.businDate = businDate;
    }

    public Date getReDate() {
        return reDate;
    }

    public void setReDate(Date reDate) {
        this.reDate = reDate;
    }

    public String getMark() {
        return mark;
    }

    public void setMark(String mark) {
        this.mark = mark;
    }

    public int getDial() {
        return dial;
    }

    public void setDial(int dial) {
        this.dial = dial;
    }
}
